import "./assets/main.css";

import { createApp } from "vue";
import { createPinia } from "pinia";
import App from "./App.vue";
import router from "./router";
import Particles from "@tsparticles/vue3";
import { loadSlim } from "@tsparticles/slim";
import type { Engine } from "node_modules/@tsparticles/engine/types/export-types";

const app = createApp(App);

app.use(createPinia());
app.use(router);
app.use(Particles, {
  init: async (engine: Engine) => {
    await loadSlim(engine);
  },
});

app.mount("#app");
